const state = {
  memberDialog: false,
}

const mutations = {
  CHANGE_MEMBER: (state, flag) => {
    state.memberDialog = flag
  }
}

const actions = {
  openMemberDialog({ commit }) {
    commit('CHANGE_MEMBER', true)
  },
  closeMemberDialog({ commit }) {
    commit('CHANGE_MEMBER', false)
  },
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

